﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using System.IO.Ports;

namespace SlotRacer.Library.Controller
{
    public class ScalextricAPB6 : Base
    {
        const int MAJVER = 0;
        const int MINVER = 0;
        const int BUILDVER = 0;
        const int REVVER = 1;

        private SerialPort ControllerPort = new SerialPort("COM1");

        // Returns a unique GUID for this Slot-Car Controller system
        public override Guid Id
        {
            get { return new Guid("DE71991D-3E7E-4A65-96D5-A905E0B29658"); }
        }

        // Returns common readable name for this Slot-Car Controller system
        public override string Name
        {
            get { return "Scalextric Advanced Powerbase 6 (C7042)"; }
        }

        // Returns version for this Slot-Car Controller system
        public override Version Version
        {
            get { return new Version(MAJVER, MINVER, BUILDVER, REVVER); }
        }

        // Starts processing input/output for this Slot-Car Controller system
        public override bool Connect()
        {
            throw new NotImplementedException();
        }

        // Stops processing input/output for this Slot-Car Controller system
        public override bool Disconnect()
        {
            throw new NotImplementedException();
        }
    }
}
